package org.nothing.ordermaster.dao;

import org.nothing.ordermaster.entity.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface OrderMasterDAO extends JpaRepository<OrderMaster, String>
{
    /** 根据微信端的 openid 查询订单主表信息 */
    Page<OrderMaster> queryByBuyerOpenid(String buyerOpenid, Pageable pageable);
}
